package dnl.confij;

import java.io.File;

/**
 * 
 * @author daniel
 * 
 */
public abstract class AppConfigLoader {

	protected String appName;

	public AppConfigLoader(String appName) {
		this.appName = appName;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public abstract Configuration getConfiguration(String configFileName) throws ConfigException;

	public abstract Configuration getConfiguration(String configFileName, String charset)
			throws ConfigException;

	public abstract File getConfigFile(String configFileName);

	public abstract File assertConfiguration(String configFileName);

}
